cmake: resolve symlinks in LLVMConfig.cmake
authorPeter Wu <peter@lekensteyn.nl>
Fri, 4 May 2018 13:43:06 +0000 (15:43 +0200)
committerSylvestre Ledru <sylvestre@debian.org>
Tue, 2 Apr 2019 09:57:08 +0000 (10:57 +0100)
commit96aabf47975002682be95cc160ed28e0125e81fb
tree16dd349bef5bbd796bf5b30f9323d13042a3bdf8
parenteb822b2b9ddfb1237ca4cf693d2a959d3347e2ee
cmake: resolve symlinks in LLVMConfig.cmake

Ensure that symlinks such as /usr/lib/llvm-X.Y/cmake (pointing to
lib/cmake/llvm) are resolved. This ensures that LLVM_INSTALL_PREFIX
becomes /usr/lib/llvm-X.Y instead of /usr.

Partially addresses PR37128

Gbp-Pq: Name 0001-llvm-cmake-resolve-symlinks-in-LLVMConfig.cmake.patch
cmake/modules/CMakeLists.txt